package com.systemic.service;

import com.systemic.dto.AuthUserDto;
import com.systemic.pojo.User;

import java.net.URISyntaxException;

/**
 * @ClassName: AuthService
 * @Description:
 * @Author:
 * @CreateTime: 2023-12-27 14:27
 * @Version:
 **/
public interface AuthService {
    /**
     * 向指定邮箱发送验证码
     * @param email 邮箱号
     */
    void sendMailCode(String email);

    /**
     * 注册
     * @param authUserDto 认证用户请求信息
     * @return 是否成功
     */
    boolean register(AuthUserDto authUserDto);

    /**
     * 处理用户信息
     * @param user
     * @return
     */
    boolean information(User user);
}
